package com.ants.modules.articleFollow.mapper;

import com.ants.modules.articleFavorites.entity.ArticleFavorites;
import com.ants.modules.articleFollow.entity.ArticleFollow;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * TODO
 * Author Chen
 * Date   2021/9/7 18:44
 */

public interface ArticleFollowMapper extends BaseMapper<ArticleFollow> {


    List<Map<String, Object>> myFollows(@Param("username") String username, @Param("offset") Integer offset, @Param("pageSize") int pageSize);

    List<Map<String, Object>> myFans(@Param("username") String username, @Param("offset") Integer offset, @Param("pageSize") int pageSize);

}
